package com.gitee.helioz.openai.api.dto.completions;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

/**
 * 〈创建文本提示补全请求〉
 *
 * @author <a href="https://gitee.com/helioz">Morning Starr</a>
 */
@Data
public class CompletionCreateRequest {
    private String model;
    private String prompt;
    @SerializedName("max_tokens")
    private Integer maxTokens;
    private Double temperature;
    @SerializedName("top_p")
    private Double topP;
    private Integer n;
    private Boolean stream;
    private Object logprobs;
    private String stop;
}
